﻿<link rel="stylesheet" href="static/js/jquery-easyui-1.5.3/themes/default/easyui.css" />
<!-- <link rel="stylesheet" href="static/js/jquery-easyui-1.5.3/themes/bootstrap/easyui.css" /> -->

<link rel="stylesheet" href="static/js/jquery-easyui-1.5.3/themes/icon.css" />
<script type="text/javascript" src="static/js/jquery-easyui-1.5.3/jquery.min.js"></script>
<script type="text/javascript" src="static/js/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
<script type="text/javascript" src="static/js/jquery-easyui-1.5.3/locale/easyui-lang-zh_CN.js"></script>
<div id="navbar" class="navbar navbar-default">
	<script type="text/javascript">
		try{ace.settings.check('navbar' , 'fixed');}catch(e){}

				function tt(){
					$('#win').window({
						title:"提醒",
// 					    width:600,
// 					    height:400,
					    modal:true
					});
					$('#win').window('open'); 
					$("#datagrid").datagrid({  
			            url: "../scm/ConsoleData.json",  
			            iconCls: "icon-add",  
// 			            fitColumns: false,  
			            loadMsg: "数据加载中......",  
			            pagination: true,  
			            rownumbers: true,  
// 			            fitColumns:true,
			            nowrap: false,  
			            showFooter: true,  
			            singleSelect: true,
			            
// 			            pageList: [100, 50, 20, 10], 
			            columns: [[
			                       {  
			                           field: 'BILL_CODE', title: '托单编号', width: 125, align: 'center',  
			                       },
			                       {  
			                           field: 'LADING_BILL_CODE', title: '提单编号', width: 150, align: 'center',  
			                       },
			                       {  
			                           field: 'BOAT_ETD', title: 'ETD时间', width: 155, align: 'center',  
			                       },
			                       {  
			                           field: 'dayNumber', title: '超期天数', width: 120, align: 'center',  
			                       },
// 			                       {  
// 			                           field: 'code', title: '操作', width: 120, align: 'center', 
// 			                           formatter:function(value, row, index){  
// 			   					        var str = '<a href="#" name="opera" class="easyui-linkbutton" ></a>';  
// 			   					        return str;  
// 			   					}}
			                       
			                       ]],
					   
			        })  
				}

		
	</script>

	<div class="navbar-container" id="navbar-container">
		<!-- #section:basics/sidebar.mobile.toggle -->
		<button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
			<span class="sr-only">Toggle sidebar</span>

			<span class="icon-bar"></span>

			<span class="icon-bar"></span>

			<span class="icon-bar"></span>
		</button>

		<!-- /section:basics/sidebar.mobile.toggle -->
		<div class="navbar-header pull-left">
			<!-- #section:basics/navbar.layout.brand -->
			<a class="navbar-brand">
				<small> <i class="fa fa-leaf"></i> ${pd.SYSNAME} </small>
			</a>

			<!-- /section:basics/navbar.layout.brand -->

			<!-- #section:basics/navbar.toggle -->

			<!-- /section:basics/navbar.toggle -->
		</div>

		<!-- #section:basics/navbar.dropdown -->
		<div id="win" class="easyui-dialog" style="width: 600px; height: 400px;"  
         data-options="closed:true,buttons:'#dlg-buttons'">  
        <table id="datagrid" class="easyui-datagrid" style="width:590px;height:340px">  
        </table>  
    </div>  
		<div class="navbar-buttons navbar-header pull-right" role="navigation">
			<ul class="nav ace-nav">
							<li class="grey" onclick="tt();" title="你有${pd.NUM}条待办事项">
					<a data-toggle="dropdown" class="dropdown-toggle" href="#">
						<i class="ace-icon fa fa-tasks"></i>
						<span  title="你有${pd.NUM}条待办事项" class="badge badge-grey">${pd.NUM}</span>
					</a>

<!-- 					<ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close"> -->
<!-- 						<li class="dropdown-header"> -->
<!-- 							<i class="ace-icon fa fa-check"></i> -->
<!-- 							预留功能,待开发 -->
<!-- 						</li> -->
<!-- 						<li class="dropdown-footer"> -->
<!-- 							<a href="javascript:"> -->
<!-- 								预留功能,待开发 -->
<!-- 								<i class="ace-icon fa fa-arrow-right"></i> -->
<!-- 							</a> -->
<!-- 						</li> -->
<!-- 					</ul> -->
				</li>
				<li class="grey">
					<a data-toggle="dropdown" class="dropdown-toggle" href="#">
						<i class="ace-icon fa fa-tasks"></i>
						<span class="badge badge-grey">2</span>
					</a>

					<ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
						<li class="dropdown-header">
							<i class="ace-icon fa fa-check"></i>
							预留功能,待开发
						</li>
						<li class="dropdown-footer">
							<a href="javascript:">
								预留功能,待开发
								<i class="ace-icon fa fa-arrow-right"></i>
							</a>
						</li>
					</ul>
				</li>

				<li title="提醒" class="purple"  onclick="creatw();">
					<!-- creatw()在 WebRoot\plugins\websocketInstantMsg\websocket.js中 -->
					<a data-toggle="dropdown" class="dropdown-toggle" href="#">
						<i class="ace-icon fa fa-bell icon-animated-bell"></i>
						<span class="badge badge-important"></span>
					</a>

					<ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
						<li class="dropdown-header">
							<i class="ace-icon fa fa-bell-o"></i>
							重庆新长丰国际物流贸易有限公司 即时通讯
						</li>
					</ul>
				</li>

				<li title="站内信" class="green" onclick="xcfsms();" id="xcfsmstss">
					<!-- xcfsms()在 WebRoot\static\js\myjs\head.js中 -->
					<a data-toggle="dropdown" class="dropdown-toggle" href="#">
						<i class="ace-icon fa fa-envelope icon-animated-vertical"></i>
						<span class="badge badge-success" id="xcfsmsCount"></span>
					</a>
				</li>

				<!-- #section:basics/navbar.user_menu -->
				<li class="light-blue">
					<a data-toggle="dropdown"  class="dropdown-toggle" href="#">
						<img class="nav-user-photo" src="static/ace/avatars/user.jpg" alt="Jason's Photo" />
						<span class="user-info" id="user_info">
						</span>
						<i class="ace-icon fa fa-caret-down"></i>
					</a>

					<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
						<li>
							<a onclick="editUserH();" style="cursor:pointer;"><i class="ace-icon fa fa-cog"></i>修改资料</a>
							<!-- editUserH()在 WebRoot\static\js\myjs\head.js中 -->
						</li>
						<li id="systemset">
							<a onclick="editSys();" style="cursor:pointer;"><i class="ace-icon fa fa-user"></i>系统设置</a>
							<!-- editSys()在 WebRoot\static\js\myjs\head.js中 -->
						</li>
						<li class="divider"></li>
						<li>
							<a href="logout"><i class="ace-icon fa fa-power-off"></i>退出登录</a>
						</li>
					</ul>
				</li>

				<!-- /section:basics/navbar.user_menu -->
			</ul>
		</div>
		<!-- /section:basics/navbar.dropdown -->
	</div><!-- /.navbar-container -->
</div>
<div id="xcfsmsobj"><!-- 站内信声音消息提示 --></div>